package com.frank.subject.domain.convert;

import com.frank.subject.domain.entity.SubjectAnswerBo;
import com.frank.subject.infra.basic.entity.SubjectJudge;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author Frank Zou
 * @version v0.0.1
 * @date 2024/1/25 16:46
 * @description
 */
@Mapper
public interface SubjectJudgeBoConverter {

    SubjectJudgeBoConverter INSTANCE = Mappers.getMapper(SubjectJudgeBoConverter.class);

    SubjectJudge convertBoToEntity(SubjectAnswerBo subjectAnswerBO);

    List<SubjectAnswerBo> convertEntitiesToBoList(List<SubjectJudge> subjectJudges);
}
